<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/app.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css">
    <link href="../script/swiper/swiper.min.css" rel="stylesheet" />
    <style type="text/css">
    html,body{
        height: 100%;
    }
   
    </style>
</head>
<body >
	<header class="H-header H-theme-background-color-white" id="header">
        <span id="back_btn" class="H-icon H-position-relative H-display-inline-block H-float-left H-vertical-middle H-theme-font-color-666 H-padding-horizontal-left-8 H-z-index-100">
        	<!--<i class="H-iconfont H-icon-target-back H-font-size-18 H-vertical-middle"></i>-->
        	<i class="H-iconfont icon-xiangzuo1 H-font-size-22 H-vertical-middle"></i>
        </span>
        <div  class=" header-title H-header-title   H-font-size-18 H-text-show-row-1 H-theme-font-color-333 H-position-absolute ">导航名称</div>
    </header>
    
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="../script/app.js"></script>

<script type="text/javascript">
	
	var sysconfig = "";//获取系统配置参数 , 参数内容在后台接口获取
    apiready = function(){
    	sysconfig = $api.getStorage('sysconfig');
		api.parseTapmode();

		var title = api.pageParam.title;
		$(".H-header-title").html(title);
		
		var header = $api.byId('header');
        $api.fixStatusBar(header); 
        var headerPos = $api.offset(header);
        var body_h = $api.offset($api.dom('body')).h;

		url = api.pageParam.url;
		
		var browser = api.require('webBrowser');
		browser.openView({
		    url: url ,
		    rect: {
		        x: 0,
		        y: headerPos.h,
		        w: headerPos.w ,
		        h: 'auto'
		    }
		}, function(ret, err) {
		    switch (ret.state) {
		        case 0:
		            break;
		        case 1:
		            break;
		        case 2:
		            break;
		        case 3:
		            break;
		        case 4:
		            break;
		        default:
		            break;
		    }
		});
		
//		//屏蔽底部广告
//		$app.openFrame("gg_body" , "gg_body_body" , { 
//			x: 0 , y: body_h-100 , w: headerPos.w , h: 100
//		});
		
    };
    

	
</script>
</html>